package com.jsoft.service.impl;

import com.jsoft.dao.InstitutyDao;
import com.jsoft.dao.impl.InstitutyDaoImpl;
import com.jsoft.entity.Instituty;
import com.jsoft.service.InstitutyService;

import java.util.List;

/**
 * 金融机构表的服务层的实现类
 * @author snkstart
 * @create 2023-02-21 8:58
 */
public class InstitutyServiceImpl implements InstitutyService {
    private InstitutyDao institutyDao = new InstitutyDaoImpl();

    @Override
    public List<Instituty> selectAllInstituty() {
        List<Instituty> lists = null;
        try {
            lists = institutyDao.selectAll();
        } catch (Exception e) {
            e.printStackTrace();
        }
        return lists;
    }
}
